<?php

class User_Plugin_Notification
{
	function friendRequest($item, $spec)
	{
		$subject = $item -> getSubject();
		return strtr('<span class="bold">:subject</span> requested you to be friend.', array(':subject' => $subject -> getTitle()));
	}
	
	function friendMake($item, $spec)
	{
		$subject = $item -> getSubject();
		return strtr('You and <span class="bold">:subject</span> are now friends.', array(':subject' => $subject -> getTitle()));
	}

}
